<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@drawable/background">
    <TextView android:layout_height="wrap_content" android:layout_width="fill_parent" android:id="@+id/textPercentHeader" android:text="@string/piece_header" android:layout_marginTop="16dp" style="@style/HeaderFont"></TextView>
    <LinearLayout android:id="@+id/linearLayout1" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:layout_marginTop="16dp">
        <TextView android:layout_weight="0.5" android:id="@+id/textCheapestAmount1" android:layout_width="wrap_content" android:text="@string/cheapest_amount" android:textAppearance="?android:attr/textAppearanceSmall" android:layout_height="wrap_content" style="@style/EditHeaderFont"></TextView>
        <LinearLayout android:id="@+id/linearLayout2" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="0.5">
            <EditText android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:inputType="numberDecimal" android:id="@+id/editPieceAmount" android:gravity="right"></EditText>
            <ImageButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@android:drawable/ic_delete" android:id="@+id/buttonDeleteAmount" android:onClick="onDeleteAmount"></ImageButton>
        </LinearLayout>
        <TextView android:layout_weight="0.5" android:id="@+id/textCheapestPrice1" android:layout_width="wrap_content" android:text="@string/cheapest_price" android:textAppearance="?android:attr/textAppearanceSmall" android:layout_height="wrap_content" style="@style/EditHeaderFont"></TextView>
        <LinearLayout android:id="@+id/linearLayout3" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="0.5">
            <EditText android:layout_weight="1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:inputType="numberDecimal" android:id="@+id/editPiecePrice" android:gravity="right">
                <requestFocus></requestFocus>
            </EditText>
            <ImageButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@android:drawable/ic_delete" android:id="@+id/buttonDeletePrice" android:onClick="onDeletePrice"></ImageButton>
        </LinearLayout>
    </LinearLayout>
    <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="16dp" android:layout_gravity="center" android:text="@string/piece_button" android:id="@+id/buttonCalculatePrice" android:textAppearance="@style/EditHeaderFont" android:onClick="onCalculate"></Button>
</LinearLayout>
